package com.worthtech.billportal.service;

import java.util.HashMap;
import java.util.List;

import com.worthtech.billportal.bean.CsCtrlUsergroup;
import com.worthtech.billportal.bean.Role;
import com.worthtech.billportal.util.ResultObject;

public interface RoleService {

	public List getRoleList();
	
	public Role getRole(int id);
	
	public Role save(Role role);
    public ResultObject findList(HashMap params) throws Exception;
    public ResultObject findInfo(HashMap params) throws Exception;
    public ResultObject saveInfo(HashMap params) throws Exception;
    public ResultObject updateInfo(HashMap params) throws Exception;
    public ResultObject delInfo(HashMap params) throws Exception;
    public CsCtrlUsergroup getUserGroup(String groupcode) throws Exception;
}
